@import "../../style/public";

.gatheringManage {
  background: #fff;

  .card-list {
    @include remCalc(padding, 0, 30);

    color: #fff;

    .feeList {
      display: flex;
      justify-content: flex-end;

      >ul {
        @include remCalc(padding, 0, 0, 0, 4);
      }
    }

    .zl {
      .top {
        align-items: flex-start;

        .pay-type {
          i {
            @include remCalc(margin-top, 10);
            @include remCalc(font-size, 60);
            display: inline-block;
            text-align: center;
            @include remCalc(width, 60);
            @include remCalc(height, 60);
            @include remCalc(line-height, 60);
            border-radius: 50%;
            background-color: #fff;

            &.zhk-detail_zfb {
              color: $pay-zfb;
            }

            &.zhk-detail_wx {
              color: $pay-wx;
            }

            &.zhk-detail_ysf {
              color: $pay-ysf;
            }

            &.zhk-detail_yl {
              color: $pay-yl;
            }
          }
        }
      }

      .bottom {
        .center-text {
          @include remCalc(padding, 40, 0);
          text-align: left;
          line-height: 1.4;
        }

        .bottom-text {
          text-align: right;
        }

      }
    }

    >li {
      width: 100%;
      display: flex;
      flex-flow: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      //margin-top: -10px;
      box-sizing: border-box;
      @include remCalc(padding, 30, 40);
      // @include remCalc(border-top-left-radius, 10);
      // @include remCalc(border-top-right-radius, 10);
      @include remCalc(border-radius, 10);
      @include remCalc(margin-top, 20);
      overflow: hidden;


      &.bottomRadius {
        @include remCalc(border-bottom-left-radius, 10);
        @include remCalc(border-bottom-right-radius, 10);
      }

      >div {
        width: 100%;
      }

      // &.mb{
      //   margin-bottom:10px;
      // }
      &:last-child {
        margin-bottom: 0 !important;
      }

      &.blue {
        background-image: linear-gradient(90deg, #4bafff 3%, #327ee7 98%);
      }

      &.red {
        background-image: linear-gradient(90deg, #fe7566 4%, #fe5262 98%);
      }

      &.green {
        background-image: linear-gradient(90deg, #01a998 4%, #038bb0 98%);
      }

      &.purple {
        background-image: linear-gradient(90deg, #cd54f0 4%, #871f91 98%);
      }

      // .top{
      //   @include remCalc(border-top-left-radius, 10);
      //   @include remCalc(border-top-right-radius, 10);
      // }
      // .bottom{
      //   @include remCalc(border-bottom-left-radius, 10);
      //   @include remCalc(border-bottom-right-radius, 10);
      // }
      .nullheight {
        height: 0 !important;
        visibility: hidden;
      }
      .top {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .card-name {
          text-align: left;
          @include remCalc(font-size, 48);

          .merchant {
            @include remCalc(padding-top, 12);
            @include remCalc(font-size, 28);
          }
        }
        .card-num {
          @include remCalc(font-size, 36);
        }
      }
      .bottom {
        @include remCalc(font-size, 24);
        @include remCalc(padding, 40, 0, 0, 0);

        // @include remCalc(height, 200);
        .pay-way {
          >li {
            display: flex;
            align-items: flex-start;
            @include remCalc(padding, 6, 0);

            >span {
              display: flex;
              align-items: center;

              .tag {
                @include remCalc(margin-left, 8);
                @include remCalc(border-radius, 8);
                @include remCalc(padding, 2, 6);
                background: rgba(0, 0, 0, 0.2);
                position: relative;

                &::after {
                  position: absolute;
                  content: "";
                  @include remCalc(left, -10);
                  @include remCalc(right, -10);
                  @include remCalc(top, -20);
                  @include remCalc(bottom, -20);
                }
              }
              i {
                display: inline-block;
                text-align: center;
                @include remCalc(width, 28);
                @include remCalc(height, 28);
                @include remCalc(line-height, 28);
                @include remCalc(margin-right, 8);
                border-radius: 50%;
                background-color: #fff;
                @include remCalc(font-size, 28);
                &::before {
                  //transform: scale(0.8) translateX(0);
                  display: inline-block;
                }

                &.zhk-detail_zfb {
                  color: $pay-zfb;
                }

                &.zhk-detail_wx {
                  color: $pay-wx;
                }

                &.zhk-detail_ysf {
                  color: $pay-ysf;
                }

                &.zhk-detail_yl {
                  color: $pay-yl;
                }
              }
            }

            >div {
              flex: 1;
              text-align: right;
            }
          }
        }
      }
    }
  }

  .unopen {
    // @include remCalc(padding, 30);
    margin-top: pw(10);

    .title {
      color: #999;
      @include remCalc(font-size, 24);
      text-align: center
    }

    .pay-way {
      // @include remCalc(margin, 20, 0, 20, 0);

      width: pw(355);
      display: flex;
      flex-wrap: wrap;
      margin-left: pw(10);
      align-items: center;
      justify-content: center;

      >li {
        // @include remCalc(padding, 6, 0);
        // @include remCalc(margin-left, 64);
        display: flex;
        align-items: center;
        justify-content: center;

        margin-top: pw(10);
        width: pw(172);
        height: pw(58);
        background: rgba(255, 255, 255, 1);
        border-radius: pw(10);

        &:first-child {
          margin-left: 0;
        }

        >div {
          width: pw(47);
          color: #333;
          @include remCalc(font-size, 24);
        }

        >i {
          display: inline-block;
          text-align: center;
          @include remCalc(width, 60);
          @include remCalc(height, 60);
          @include remCalc(line-height, 60);
          border-radius: 50%;
          margin-right: pw(5);
          color: #fff;
          @include remCalc(font-size, 60);

          &.zhk-detail_zfb {
            background-color: $pay-zfb;
          }

          &.zhk-detail_wx {
            background-color: $pay-wx;
          }

          &.zhk-detail_ysf {
            background-color: $pay-ysf;
          }

          &.zhk-detail_yl {
            background-color: $pay-yl;
          }
        }
      }

      li:nth-child(2) {
        margin-left: 10px;
      }

      li:nth-child(4) {
        margin-left: 10px;
      }
    }

    .link-wrap {
      width: pw(355);

      position: fixed;
      bottom: pw(60);
      left: pw(10);
      text-align: center;

      .tip {
        color: #999;
        @include remCalc(font-size, 24);
        @include remCalc(margin, 0, 0, 40, 0);
      }
    }

    .link-btn-list {
      display: flex;
      justify-content: center;
      align-items: center;
      width: pw(355);

      // li {
      //   color: $color-red;
      //   @include remCalc(margin-left, 30);
      //   @include remCalc(font-size, 24);
      //   @include remCalc(padding, 14, 70);
      //   @include remCalc(border-radius, 100);
      //   border: 1px solid $color-red;

      //   &:first-child {
      //     margin-left: 0;
      //   }

      // }

      li:nth-child(2) {
        width: pw(172);
        height: pw(50);

        border-radius: pw(10);

        background: linear-gradient(271.44deg, #F52222 0%, #D81212 100%);

        font-family: PingFang SC;
        font-size: pw(16);
        font-weight: 500;
        line-height: pw(50);
        letter-spacing: 0px;
        text-align: center;
        color: #fff;
        margin-left: pw(10);
      }

      li:nth-child(1) {
        width: pw(172);
        height: pw(50);
        line-height: pw(50);
        border-radius: pw(10);


        font-family: PingFang SC;
        font-size: pw(16);
        font-weight: 500;
     
        letter-spacing: 0px;
        text-align: center;
        color: red;
        border: 1px solid red;

      }
    }
  }

  .err-msg {
    color: #ee3a31;
    @include remCalc(font-size, 24);
    @include remCalc(margin-top, -10);
    @include remCalc(padding, 0, 30, 20, 0);
    @include thin-border(false, false, bottom);
  }
  .zhk-ts {
    color: #ccc;
    @include remCalc(font-size, 32);
  }

  .rate {
    color: #ee3a31;
  }

  .open-btn {
    color: #333;
    @include remCalc(font-size, 32);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .item {
    @include remCalc(padding-left, 30);
    @include remCalc(margin-top, 20);
    background: #fff;
    .item-t {
      display: flex;
      align-items: center;
      @include remCalc(padding, 26, 30, 26, 0);

      .lft {
        flex: 1;
        display: flex;
        align-items: center;
        .icon {
          @include remCalc(font-size, 36);
          @include remCalc(margin-right, 12);
          @include remCalc(line-height, 51);
          color: #459afb;
        }

        .wx {
          color: #99ce6e;
        }

        .yl {
          color: #e60014;
        }

        .name {
          @include remCalc(font-size, 32);
          color: #333333;
          @include remCalc(line-height, 51);
          @include remCalc(margin-right, 12);
        }
        .val {
          @include remCalc(font-size, 32);
          @include remCalc(line-height, 51);
          color: #999999;
          letter-spacing: 0;
        }
      }
      .rght {
        @include remCalc(font-size, 28);
        // @include remCalc(padding, 0,20);
        color: #333;

        &.status-failed {
          color: #ee3a31;
        }

        &.status-validating {
          color: #459dff;
        }

        &.status-opened {
          color: #999999;
        }

        &.status-unopen {
          color: #333333;
        }
      }
    }

    .phone-num {
      color: #459dff;
      position: relative;

      &::before {
        content: "";
        position: absolute;
        @include remCalc(left, -30);
        @include remCalc(right, -30);
        @include remCalc(top, -20);
        @include remCalc(bottom, -20);
      }
    }
    .item-b {
      @include remCalc(padding, 20, 30, 20, 0);
      @include remCalc(font-size, 24);
      color: #666;
      @include remCalc(line-height, 40);
      .zhk-list_rarrow {
        color: #ccc;
        @include remCalc(font-size, 32);
      }

      @include thin-border(false, false, top);

      .flex-box {
        display: flex;
        align-items: center;

        .account {
          @include remCalc(font-size, 32);
          flex: 1;
          @include remCalc(line-height, 40);
          i {
            display: block;
            font-style: normal;
            @include remCalc(margin-top, 12);
          }
          .icon {
            @include remCalc(font-size, 16);
            color: #ccc;
          }
        }
      }
      .link {
        @include remCalc(font-size, 28);
        @include remCalc(line-height, 40);
        @include remCalc(margin-top, 20);
        a {
          color: #459dff;
        }
      }
    }
  }
}

.page-body {
  background-color: #f9f9f9;
}
